package com.yfqy.app.modules.product.serviceimpl;

import com.yfqy.app.domain.mapper.LabelMapper;
import com.yfqy.app.modules.product.service.LabelService;
import com.yfqy.app.modules.product.vo.LabelVO;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LabelServiceImpl implements LabelService {

    @Resource
    private LabelMapper labelMapper;


    // 查询标签列表（可根据名称和状态筛选）
    @Override
    public List<LabelVO> getLabelList(String labelName, Integer status) {
        return labelMapper.selectAll(labelName, status);
    }

}
